package sudroid.android;

import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;
import java.io.Serializable;

public class ParcelableWrapper<T extends Serializable>
  implements Parcelable
{
  public static final Parcelable.Creator<ParcelableWrapper<?>> CREATOR = new ParcelableWrapper.1();
  public T prototype;

  private ParcelableWrapper(Parcel paramParcel)
  {
    Serializable localSerializable = paramParcel.readSerializable();
    this.prototype = localSerializable;
  }

  public ParcelableWrapper(T paramT)
  {
    this.prototype = paramT;
  }

  public int describeContents()
  {
    return 0;
  }

  public String toString()
  {
    return this.prototype.toString();
  }

  public void writeToParcel(Parcel paramParcel, int paramInt)
  {
    Serializable localSerializable = this.prototype;
    paramParcel.writeSerializable(localSerializable);
  }
}

/* Location:           D:\Program Files\eclipse\apktool-r01-3\新浪微博\classes.dex.dex2jar.jar
 * Qualified Name:     sudroid.android.ParcelableWrapper
 * JD-Core Version:    0.6.0
 */